#include<stdio.h>

int func(int *a)
{
	*a++;
}

void swap(int *a, int *b)
{
	int tmp = *a;
	*a = *b;
	*b = tmp;

}

int main()
{
	int a = 2, b = 3;
	printf("a=%d, b=%d\n",a, b);
	swap(&a, &b);
	printf("a=%d, b=%d\n",a, b);
	
	printf("%d\n", a);
	printf("%d\n", func(&a));
	
	return 0;
}


